From 382d7fa77e7eb60cca9621dc63f57eff6d15f0e5 Mon Sep 17 00:00:00 2001
From: q66 <q66@chimera-linux.org>
Date: Tue, 28 Feb 2023 02:13:47 +0000
Subject: [PATCH] patch out USE_NATIVE_MUTEX

https://gitlab.gnome.org/GNOME/glib/-/issues/2637
---
 glib/gthread-posix.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c
index 84f6288..49e982c 100644
--- a/glib/gthread-posix.c
+++ b/glib/gthread-posix.c
@@ -74,11 +74,6 @@
 #include <sys/syscall.h>
 #endif
 
-#if (defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64)) && \
-    (defined(HAVE_STDATOMIC_H) || defined(__ATOMIC_SEQ_CST))
-#define USE_NATIVE_MUTEX
-#endif
-
 static void
 g_thread_abort (gint         status,
                 const gchar *function)
-- 
2.34.1

